package com.zjm.service;

import com.zjm.entity.*;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

public interface StudentService {
    //注册
    Map<String ,Object> register(Student student,String confirmPassword);

    //登录
    Student login(Integer id,String password);

    //展示资料
    Student showInfo(Integer student_id);

    //请假
    List<Vacate> myVacates(Integer student_id);
    Map<String ,String> vacate(Vacate vacate);

    //转专业
    Change_major myChangeMajor(Integer student_id);
    Map<String ,String> changeMajor(Change_major change_major);

    //选课
    List<Select_clas> myClas(Integer student_id);
    List<Clas> showAllClas(Integer student_id);
    Map<String ,String> addClas(Integer clas_id,Integer student_id);
}
